package com.bbms.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.bbms.entity.Book;
import com.bbms.entity.Page;

/**
 * @author Administrator
 * 图书管理DAO接口
 */
@Repository("BookDAO")
public interface BookDAO extends BaseDAO<Book> {
	
	public Page getPage(int currentPage, int pageSize, String s_name, String s_author, Integer s_publisherId,
			Integer s_categoryId, String start_time, String end_time, int authority);
	
	public List<?>  getDetailList(String publishDate, String ISBN, int authority);
	
	public void updateBatch(Book book);
	
	public void addBatch(Book book, int booksNum);
	
	public void delBatch(Book book);
	
}
